package com.ytkj.digitalConstruction.httpbean.role.resbean;

import java.util.List;

/**
 * 菜单权限返回类
 * @author 张重阳
 *
 */
public class ReturnMenuPermission {
	
	/**
	 * 权限Id
	 */
	private Integer id;
	
	/**
	 * 菜单Id
	 */
	private Integer menuId;
	
	/**
	 * 是否按钮
	 */
	private Boolean isButton;
	
	/**
	 * 父级Id
	 */
	private Integer pId;
	
	/**
	 * 是否拥有权限
	 */
	private Boolean have;
	
	/**
	 * 菜单路径
	 */
	private String menuUrl;
	
	/**
	 * 菜单图标
	 */
	private String ficon;
	
	/**
	 * 是否选中
	 */
	private Boolean checked;
	
	/**
	 * quanxian mingcheng 
	 */
	private String label;
	
	/**
	 * 子权限
	 */
	private List<ReturnMenuPermission> children;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Boolean getHave() {
		return have;
	}

	public void setHave(Boolean have) {
		this.have = have;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public List<ReturnMenuPermission> getChildren() {
		return children;
	}

	public void setChildren(List<ReturnMenuPermission> children) {
		this.children = children;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public Boolean getIsButton() {
		return isButton;
	}

	public void setIsButton(Boolean isButton) {
		this.isButton = isButton;
	}

	public Integer getMenuId() {
		return menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	@Override
	public String toString() {
		return "ReturnRolePermission [id=" + id + ", isButton=" + isButton + ", pId=" + pId + ", have=" + have
				+ ", label=" + label + ", children=" + children + "]";
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getFicon() {
		return ficon;
	}

	public void setFicon(String ficon) {
		this.ficon = ficon;
	}

}
